#include <iostream>

using namespace std;

int main()
{
	int a, b, c, n, k;

	cout << "\n\t\tEscriba Primer Digito\n\n" << endl; 
	cout << "Escriba Primer Digito" << endl;
	cin >> a;
	cout << "Escriba Segundo Digito" << endl;
	cin >> b;
	cout << "Escriba Numero De Secuencias" << endl;
	cin >> n;

	cout <<"\n\n\t"<< a << endl;
	cout <<"\t"<< b << endl;

	for (k = 0; k<n; k++){
		c = a + b;
		cout << "\t" <<c << endl;
		a = b;
		b = c;
	}


	system("pause");
	return 0;
	
}
